package com.financing.platform.service.impl;

import java.sql.SQLException;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.financing.platform.dao.ITrustRegexDao;
import com.financing.platform.dto.TrustRegexDTO;
import com.financing.platform.service.ITrustRegexService;

@Service(value="trustRegexService")
public class TrustRegexServiceImpl implements ITrustRegexService{
	
	@Autowired
	ITrustRegexDao trustRegexDao;

	@Override
	public List<TrustRegexDTO> queryTrustRegex(String companyId)
			throws SQLException {
		return trustRegexDao.queryTrustRegex(companyId);
	}
	
}
